package com.gdcp.common;

import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;


@Component
public class ResponseModel {

    public Map<String,Object> setModel(Boolean success,Object message){
        Map<String, Object> modelMap=new HashMap<>();
        modelMap.put("success",success);
        modelMap.put("message",message);

        return modelMap;
    }
}
